package com.euq.mapper;

import com.euq.entity.OperationLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OperationLogMapper {
    @Insert("INSERT INTO operation_log(className, create_time, logName, logType, message, method, succeed, userId) " +
            "VALUES(#{className}, #{createTime}, #{logName}, #{logType}, #{message}, #{method}, #{succeed}, #{userId})")
    void insertOperationLog(OperationLog operationLog);
}
